export class Misc {
	constructor(viewer) {
		this.viewer = viewer;
	}
	getScreenshot() {
		return new Promise((resolve) => {
			this.viewer.createSnapshotAsync(new Glodon.Web.Graphics.Color(214, 224, 235, 1), (data) => {
				resolve(data);
			});
		});
	}
	async getPerformance() {
		this.viewer.getMinimumFPS();
	}
}
